import Layout from '@/layout';

const myConsumableRoute = [
  {
    path: '/my-consumable',
    redirect: '/my-consumable/index',
    name: 'my-consumable',
    component: Layout,
    children: [
      {
        path: '',
        name: '',
        component: () => import('@/views/my-consumable'),
        props: route => ({
          $title: route.query.title,
          $type: route.query.type
        })
      }
    ]
  }
];

export default myConsumableRoute;
